<template lang="pug">
  .empty
    i.iconfont(:class="searched ? 'icon-baokong' : 'icon-genjutiaojianchaxun'")
    p {{text ? text : searched ? '暂无数据' : '请选择条件查询'}}
</template>

<script>
export default {
  props: {
    searched: Boolean,
    text: String
  }
}
</script>

<style lang="stylus" scoped>
  .empty
    display flex
    padding 150px 0 100px
    flex-direction column
    align-items center
    i
      color #b7b7b7
      font-size 150px
    p
      text-align center
      font-size 16px
      color #b7b7b7
</style>
